import React, { Component } from "react";
import { createBottomTabNavigator,createStackNavigator,createSwitchNavigator } from "react-navigation";
import Login from '../login/index';
import Map_Set from '../map/index';
import SettingsScreen from '../setting/index'
export default class Main extends Component {
 
  render() {
    return(
      <RootStack></RootStack>
    )
  }
}

const RootStack = createStackNavigator(
  {
    Login: Login,
    Details: Map_Set,
    SettingsScreen:SettingsScreen
  },
  {
    initialRouteName: 'Login',
    headerMode:'none',
    headerTransitionPreset:'fade-in-place'
  }
);